<template>

</template>
<script>
// import { appOnLaunch } from '@/utils/appGlobalLifeCycle';
import { bannerProxyQueryPage } from '@/api/goods.js'
export default {
  data() {
    return {
      showSwiper: false,
      advertisement: [],
      indicatorDots: true,
      autoplay: true,
      interval: 2000,
      duration: 500
    }
  },
  onLaunch: function () {
    // appOnLaunch()
    uni.authorize({
      scope: 'scope.userLocation',
      success: function () {
        console.log('用户同意了授权')
      }
    })
    console.log('App Launch')
  },
  onShow: function () {
    console.log('App Show')
    // 检查是否需要弹窗，比如可以通过本地存储的标识判断
    uni.removeStorageSync('needShowPopup');
  },
  onHide: function () {
    console.log('App Hide')
  },
  methods: {
    close() {
      showSwiper = false
      // uni.setStorageSync('needShowPopup', 'true');
    }
  }
}
</script>

<style>
/*每个页面公共css */
</style>
<style lang="scss">
@import 'uview-ui/index.scss';
@import '@/styles/common.scss';

.uni-steps__column-text {
  border: none !important;
}

.pop-box {
  width: 343rpx;
  height: 453rpx;
  background-color: rgba($color: #000000, $alpha: 0);
  border-radius: 20rpx;
  // position: relative;
}

.icon {
  position: fixed;
  bottom: 400rpx;
  left: 48%;
}
</style>
